asp.net mvc select from many to many relationship

43

asp.net mvc select from many to many relationship -

var prod = EFModel.Products.Where(x => x.Categories.Any(c => c.ID == id));

Comments

Submit
0 Comments